The best iPad alternative is CppCode, which is free. If that doesn't suit you, our users have ranked more than 50 alternatives to Code::Blocks and five of them are available for iPad so hopefully you can find a suitable replacement.
I've not seen any x86/x86_64 specific code in C::B, so probably it would compile and possibly run on iPad. But, I doubt it will be very usable on small screen + no mouse + no keyboard.
Code::Blocks 是一個 免費 、 開源 、 跨平台 的 整合式開發環境,使用 C++ 開發,並且使用 wxWidgets 做為GUI函式庫。 Code::Blocks使用了 外掛程式 架構,其功能可以使用外掛程式自由地擴充。 目前,Code::Blocks主要針對開發 C / C++ 程式而設計。 Code::Blocks目前支援 Windows 、 Linux 及 Mac OS X 數種平台。 使用者亦能夠在 FreeBSD 環境中架設Code::Blocks。 [2] 以下敘述主要適用於10